home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Taifun / Taifun 099 (1989-05-15)(Ossowski, Stefan)(DE)(PD).zip / Taifun 099 (1989-05-15)(Ossowski, Stefan)(DE)(PD).adf / PCQ / Include / Exec.i < prev    next >
Text File  |  1989-03-31  |  812b  |  35 lines

  1.  
  2. {
  3.     These are a couple of the basic Exec routines that you might
  4.     use.  The functions and structures having to do with ports
  5.     and messages are in Ports.i, and everything having to do with
  6.     IO is in ExecIO.i.  Note that you don't have to open the
  7.     exec library.
  8. }
  9.  
  10. const
  11.     MemPublic = 1;
  12.     MemChip   = 2;
  13.     MemFast   = 4;
  14.     MemClear  = 65536;
  15.  
  16.  
  17. Function OpenLibrary(s : string; v : integer): Address;
  18.     forward;
  19. Procedure CloseLibrary(l : Address);
  20.     forward;
  21. Function AvailMem(r : integer): integer;
  22.     forward;
  23. Function AllocMem(s, r : integer): Address;
  24.     forward;
  25. Procedure FreeMem(m : Address; s : integer);
  26.     forward;
  27. Function FindTask(s : String): Address;
  28.     forward;
  29. Function SetTaskPri(t : Address; p : Integer): Integer;
  30.     forward;
  31. Procedure Forbid;
  32.     forward;
  33. Procedure Permit;
  34.     forward;
  35.